package assignmentstrategy

import (
	"codejy/analysis/codeanalysis"
	"codejy/globalfunc"
	"codejy/structdef"
)

type UniteCallChainStrategy struct {
}

func init() {
	RegisterStrategy(&UniteCallChainStrategy{})
}
func (n UniteCallChainStrategy) getId() int {
	return codeanalysis.UniteCallChain
}

func (n UniteCallChainStrategy) Execute(threadStore *structdef.ThreadStore, code string) string {
	parameters := globalfunc.ExecuteFunc("UniteCallChaiExecute", threadStore, code).(string)
	return parameters
}
